package com.hall.service;

import com.hall.dao.AssistantMapper;
import com.hall.dao.AttentionMapper;
import com.hall.pojo.Appointment;
import com.hall.pojo.SysUser;
import com.hall.pojo.SysUserPermission;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;
public class AssistantServiceImpl implements AssistantService{
    @Autowired
    private AssistantMapper assistantMapper;
    @Override
    public List<SysUser> allAssistantList() {
       return assistantMapper.allAssistantList();
    }

    @Override
    public List<SysUser> allDoctor() {
        return assistantMapper.allDoctor();
    }

    @Override
    public List<SysUser> meetDoctor() {
        return assistantMapper.meetDoctor();
    }

    @Override
    public Appointment meetTime(String meetid) {
        return assistantMapper.meetTime(meetid);
    }
    @Override
    public List<SysUserPermission> userPermission() {
        return assistantMapper.userPermission();
    }

    public void setAssistantMapper(AssistantMapper assistantMapper) {
    }
}
